Package com.cisco.pt.ipc.sim.pdu.impl
Class LldpTLVImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.LldpTLVImpl
- Direct Known Subclasses:
LldpTlv_ChassisIDImpl,LldpTlv_OrgSpecificImpl,LldpTlv_PortDescriptionImpl,LldpTlv_PortIDImpl,LldpTlv_SystemCapabilitiesImpl,LldpTlv_SystemDescriptionImpl,LldpTlv_SystemNameImpl,LldpTlv_TimeToLiveImpl
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) intvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetLldpLength(int lldpLength) voidsetLldpType(LldpTLV lldpType) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
lldpType
-
lldpLength
protected int lldpLength
-
-
Constructor Details
-
LldpTLVImpl
public LldpTLVImpl()
-
-
Method Details
-
getLldpType
- Specified by:
getLldpTypein interfaceLldpTLV- Returns:
- LldpTLV Returns a LldpTLV
-
setLldpType
- Specified by:
setLldpTypein interfaceLldpTLV- Parameters:
lldpType- Takes in a parameter of lldpType
-
getLldpLength
public int getLldpLength()- Specified by:
getLldpLengthin interfaceLldpTLV- Returns:
- int Returns a int
-
setLldpLength
public void setLldpLength(int lldpLength) - Specified by:
setLldpLengthin interfaceLldpTLV- Parameters:
lldpLength- Takes in a parameter of lldpLength
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-